package com.achievement.service.author;

import com.achievement.domain.dto.author.ArtProductAuthorDTO;
import com.achievement.domain.entity.author.ArtProductAuthorEntity;
import com.achievement.domain.vo.author.ArtProductAuthorVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 科研成果-艺术作品列-作者Service接口
 * 
 * @author ruoyi
 * @date 2025-02-27
 */
public interface IArtProductAuthorService extends IService<ArtProductAuthorEntity>
{
    List<ArtProductAuthorEntity> getListByConditions(ArtProductAuthorDTO dto);
    ArtProductAuthorVO getInfoById(String id);

    boolean add(ArtProductAuthorDTO dto);
    boolean addBatch(List<ArtProductAuthorDTO> list,String artProductId);

    boolean update(ArtProductAuthorDTO dto);

    boolean batchRemove(List<String> ids);

    List<ArtProductAuthorVO> getListByArtProductId(String artProductId);

    boolean batchRemoveByArtProductIds(List<String> artProductIds);
}
